﻿using QuanLyGiaoVuDAL.DTO;
using QuanLyGiaoVuDAL.Repositories.DatabaseRepositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyGiaoVuService.ReportServices
{
    public class TienDoDeTaiReportService:ITienDoDeTaiReportService
    {
        private TienDoDeTaiRepository _tienDoDeTaiRepository;
        public TienDoDeTaiReportService(TienDoDeTaiRepository tienDoDeTaiRepository)
        {
            _tienDoDeTaiRepository = tienDoDeTaiRepository;
        }
        public IEnumerable<TienDoDeTaiDTO> GetAllTienDoDeTai(Guid maDeTai)
        {
            return _tienDoDeTaiRepository.GetAllTienDoDeTai(maDeTai);
        }
    }
}
